package com.autoconfig.demo.scan;

import org.springframework.stereotype.Component;

@Component
public class Car {
    public String brand ="wey";
    public String price ="3万";

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
